//
//  LoggingTable.h
//  Daily Wallpaper Changer for Bing
//
//  Created by 杨岑 on 11/3/14.
//  Copyright (c) 2014 杨岑. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>


@interface TextTableBuilder : NSObject

@property (nonatomic, readonly) NSInteger numRows;
@property (nonatomic, readonly) NSMutableAttributedString* headerRowAttrString;

- (NSMutableAttributedString*)addRow:(NSString*)timestamp logText:(NSString*)log textColor:(NSColor*)color;

+ (instancetype)createWithTitle:(NSString*)timestampTitle logTitle:(NSString*)logTitle;

@end
